package com.bug.domain;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Bug {
    private Integer id;

    private String module;

    private Integer level;

    private String type;

    private String createDate;

    private String createUser;

    private String version;

    private String project;

    private String branch;

    public Bug(Integer id, String module, Integer level, String type, String createDate, String createUser, String version, String project, String branch) {
        this.id = id;
        this.module = module;
        this.level = level;
        this.type = type;
        this.createDate = createDate;
        this.createUser = createUser;
        this.version = version;
        this.project = project;
        this.branch = branch;
    }

    public Bug() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module == null ? null : module.trim();
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project == null ? null : project.trim();
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch == null ? null : branch.trim();
    }
}